package com.yt.product.models.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.yt.product.models.bo.SupplierInfoBO;
import com.yt.product.models.bo.SupplierInfoSaveBO;
import com.yt.product.models.dto.SupplierInfoDTO;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * 供应商信息服务接口
 *
 * @author lianyadong
 * @Date 2025-09-03 14:16:03
 */
public interface ISupplierInfoService extends IService<SupplierInfoDTO> {

    boolean add(SupplierInfoSaveBO saveBO);

    Page<SupplierInfoDTO> queryPageList(Integer pageNo, Integer pageSize, SupplierInfoBO bo);

    SupplierInfoDTO selectById(Long id);
    boolean updateStatus(Long id, Integer status);
    boolean deleteById(Long id);
    boolean update(SupplierInfoSaveBO saveBO);
}

